package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * 物资使用记录表
 *
 * @author chenyu
 */
public class ThingUseRecord implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String userNum; //用户编号
    private String userName; //用户名
    private String roadId; //交路ID
    private String roadName; //交路名车
    private String thingId; //物品编号
    private String thingName; //物品名称
    private String trainNum; //车组号
    private String recordTime; //记录时间
    private String planDate; //记录日期
    private String recordType; //记录类型（领取or归还,0,1）

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserNum() {
        return this.userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getRoadId() {
        return this.roadId;
    }

    public void setRoadId(String roadId) {
        this.roadId = roadId;
    }

    public String getRoadName() {
        return this.roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    public String getThingId() {
        return this.thingId;
    }

    public void setThingId(String thingId) {
        this.thingId = thingId;
    }

    public String getThingName() {
        return this.thingName;
    }

    public void setThingName(String thingName) {
        this.thingName = thingName;
    }

    public String getTrainNum() {
        return this.trainNum;
    }

    public void setTrainNum(String trainNum) {
        this.trainNum = trainNum;
    }

    public String getRecordTime() {
        return this.recordTime;
    }

    public void setRecordTime(String recordTime) {
        this.recordTime = recordTime;
    }

    public String getPlanDate() {
        return this.planDate;
    }

    public void setPlanDate(String planDate) {
        this.planDate = planDate;
    }

    public String getRecordType() {
        return this.recordType;
    }

    public void setRecordType(String recordType) {
        this.recordType = recordType;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}